package edu.gatech.cs2340.bytebankers.view;

import java.util.Random;

import javax.swing.JPanel;

import edu.gatech.cs2340.bytebankers.presenter.IRiverPresenter;


public class TestRiverView implements IRiverView {

	IRiverPresenter presenter;
	int choice;
	
	public TestRiverView() {
		Random random = new Random();
		onChoiceMade(random.nextInt(3));
	}
	
	@Override
	public JPanel getMainPanel() {
		return null;
	}

	@Override
	public void setName(String name) {
	}

	@Override
	public void setDepth(double depth) {
	}

	@Override
	public void onChoiceMade(int choice) {
		this.choice = choice;
		presenter.onChoiceMade();
	}

	@Override
	public int getChoice() {
		return choice;
	}

	@Override
	public void setHasFerry(Boolean boo) {
		
	}

	@Override
	public void setMoneyLeft(double remain) {
		// TODO Auto-generated method stub

	}

	@Override
	public void showResult(String result) {
		onShowResultClose();
	}

	@Override
	public void onShowResultClose() {
		presenter.onShowResultClose();
	}

}
